"""
This Module defines all forms used in the sample_tracker application
:author: Gervaise Alina
:version: 0.1
"""
from django import forms

class SampleForm(forms.Form):
    """
    Collection of fields necessary to create a sample form.
    :Note: Need to think about barcode representation. For now the model
        accepts integer but in the future the bar code will be a string
    """
    chemical_formula = forms.CharField(max_length=30)
    name = forms.CharField(max_length=30)
    msds =  forms.CharField(max_length=30)
    mass = forms.FloatField()
    volume = forms.FloatField()
    bar_code = forms.IntegerField()
    
